@charset "utf-8";

.search_box {position: relative;height: 44px;padding: 8px 8px 0 8px;border-bottom: 1px solid #cccccc;background-color: #e2e1e7;box-sizing: border-box;}
.search_box input {width: 100%;height: 29px;text-align: center;line-height: 30px;border:0 none;background-color: #fff;color: #b3b3b3;border-radius: 5px;}
.search_box .icon_search {position: absolute;top: 16px;left: 50%;margin-left: -40px;background: url(../img/icon_zoom.png) 0 0 no-repeat;background-size: 13px 13px;transition: all 200ms linear;}
.search_box input:focus ~ .icon_search {left: 15px;margin-left: 0;}

.friend_list dl {overflow: hidden;background-color: #fff;}
.friend_list dt {position: relative;display: block;height: 22px;overflow: hidden;line-height: 22px;padding-left: 10px;font-weight: bold;font-size: 15px;color: #000;background-color: #f7f7f7;z-index: 2;}
.friend_list dd {position: relative;height: 56px;margin-top: -1px;margin-left: 58px;border-top: 1px solid #d9d9d9;}
.friend_list dd img {position: absolute;top: 10px;left: -48px;width: 40px;height: 40px;overflow: hidden;border-radius: 50%;}
.friend_list dd strong {float: left;width: 25%;height: 56px;overflow: hidden;line-height: 60px;font-weight: normal;font-size: 16px;}
.friend_list dd span {float: right;width: 74.5%;height: 56px;overflow: hidden;padding-right: 44px;font-size: 12px;line-height: 60px;text-align: right;color: #999;box-sizing: border-box;}
.friend_list .letter_list {position: fixed;top: 130px;right: 0;width: 24px;overflow: hidden;font-size: 11px;text-align: center;line-height: 1.2;background-color: #fff;z-index: 9;}
.friend_list .letter_list a {display: block;width: 20px;color: #2aaeef;}

.message_list ul {overflow: hidden;padding-top: 5px;background-color: #fff;}
.message_list li {position: relative;min-height: 65px;padding-right: 50px;padding-bottom: 5px;margin-left: 70px;border-bottom: 1px solid #d9d9d9;}
.message_list li img {position: absolute;top: 10px;left: -55px;width: 45px;height: 45px;overflow: hidden;border-radius: 50%;}
.message_list li strong {display: block;overflow: hidden;padding-top: 12px;font-weight: normal;font-size: 16px;}
.message_list li span {display: block;overflow: hidden;font-size: 12px;color: #999;}
.message_list li em {position: absolute;top: 12px;right: 10px;font-size: 12px;color: #999;}

.g_footer {background-color: #efefef;border-top-color: #d0d0d0;}

/* 聊天对话框 */
.input_area {position: fixed;left: 0;bottom: 0;width: 100%;height: 44px;overflow: hidden;padding: 6px 10px 0;border-top: 1px solid #d0d0d0;background-color: #efefef;box-sizing: border-box;}
.input_area input {width: 100%;height: 30px;border: 1px solid #d9d9d9;background-color: #fff;box-sizing: border-box;border-radius: 5px;}

.chat_content {overflow: hidden;padding: 10px;}
.chat_content li {position: relative;min-height: 65px;overflow: hidden;padding: 10px 75px 10px 50px;box-sizing: border-box;}
.chat_content li.date {min-height:30px;padding: 0;text-align: center;}
.chat_content li.date em {display: inline-block;text-align: center;padding: 3px 7px;color: #fff;background-color: #d7d7d7;border-radius: 5px;}
.chat_content li img {position: absolute;top: 10px;left: 0;width: 45px;height: 45px;overflow: hidden;border: 1px solid #d1d1d1;border-radius: 50%;box-sizing: border-box;}
.chat_content li p {position: relative;float: left;margin-top: 5px;margin-left: 5px;padding: 5px 7px;color: #333;border: 1px solid #ccc;background-color: #fff;border-radius: 3px;}
.chat_content li p::after {content: "";position: absolute;top: 8px;left: -6px;width:0;height:0;overflow:hidden;line-height:0;font-size:0;border-right:6px solid #FFFFFF;border-left:0 none;border-top:6px solid transparent;border-bottom:6px solid transparent;z-index: 3;}
.chat_content li p::before {content: "";position: absolute;top: 8px;left: -7px;width:0;height:0;overflow:hidden;line-height:0;font-size:0;border-right:6px solid #ccc;border-left:0 none;border-top:6px solid transparent;border-bottom:6px solid transparent;z-index: 2;}
.chat_content li.myself {padding: 10px 50px 10px 75px;}
.chat_content li.myself img {left: auto;right: 0;}
.chat_content li.myself p {float: right;margin-left: 0;margin-right: 5px;color: #fff;background-color: #29aeef;border-color: #29aeef;}
.chat_content li.myself p::after {left: auto;right: -6px;border-left:6px solid #29aeef;border-right:0 none;}
.chat_content li.myself p::before {left: auto;right: -7px;border-left:6px solid #29aeef;border-right:0 none;}